package com.zwps.biz.dal.db.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwps.biz.dal.db.object.ForecastWeatherDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("lhk")
public interface ForecastWeatherDAO extends BaseMapper<ForecastWeatherDO> {

    List<ForecastWeatherDO> selectByTimeStcd(@Param("times") List<String> times, @Param("stcd") String stcd);

    void batchInsert(List<ForecastWeatherDO> addList);

    void deleteByTimeAndStcd(@Param("times") List<String> times, @Param("stcd") String stcd);
}
